Skip to content

feat: add composite database indexes for query optimization#246

Merged
Calebux merged 1 commit intoCalebux:mainfrom
DevAyomi:add-database-indexes
Mar 28, 2026
Merged

feat: add composite database indexes for query optimization#246
Calebux merged 1 commit intoCalebux:mainfrom
DevAyomi:add-database-indexes

Conversation

@DevAyomi
Copy link
Copy Markdown
Contributor

The database migration scripts create tables but do not add composite indexes on the columns most frequently used in WHERE clauses. As the database grows, queries will perform full table scans instead of using indexes, causing increasing latency. Closes #128

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 28, 2026

@DevAyomi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Calebux Calebux merged commit ffc8dd7 into Calebux:main Mar 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Performance: Add missing database indexes on subscriptions and reminder_schedules tables

2 participants